﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Domain.Entities;

namespace Services
{
    public interface IQuizService
    {
        QuestionInQuiz FormQuestionForUser(User user, Chapter chapter);
        bool IfThereIsUncompletedTestForUser(User user, Chapter chapter);
        void PassAnswerToOpenQuestionInQuiz(int questionInQuizId, string Answer);
        void PassAnswerToRadioQuestionInQuiz(int questionInQuizId, int AnswerId);
        void PassAnswerToCheckQuestionInQuiz(int questionInQuizId, int[] AnswersIds);
        int GetChapterIdForQuestionInQuiz(int questionInQuizId);
    }

}
